// @login & register

const express = require('express');
const router = express.Router();
const bcrypt = require('bcrypt');

//$route GET api/user/test
// @desc 返回的请求json数据
// @access public
router.get('/test',(req, res) => {
    res.json({'name': 'Michael1111'})
})

//$route POST api/user/test
// @desc 返回的请求json数据
// @access public
router.post('/register',(req, res) => {
    // console.log(req.body);

    //查询数据库是否拥有邮箱
})


module.exports = router;